<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{$site_info.site_seo_title|default=''}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}"/>
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" href="/static/fly/css/global.css">
</head>
<body>
{include file='common/header' /}
<div class="layui-container fly-marginTop fly-user-main">
    {include file='user/nav' /}
    <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief" lay-filter="user">
            <ul class="layui-tab-title" id="LAY_mine">
                <li class="layui-this" lay-id="list">转账记录</li>
                <li lay-id="info">在线转账</li>
            </ul>
            <div class="layui-tab-content" style="padding: 20px 0;">
                <div class="layui-form layui-form-pane layui-tab-item layui-show">
                    <table class="layui-hide" id="LAY_transfer"></table>
                </div>
                <div class="layui-form layui-form-pane layui-tab-item">
                    <form method="post">
                        <div class="layui-form-item">
                            <label for="L_payment" class="layui-form-label">收款渠道</label>
                            <div class="layui-input-inline">
                                <select id="L_payment" name="payment" lay-verify="required" lay-search="">
                                    {foreach $payment as $v}
                                    <option value="{$v.id}">{$v.name}</option>
                                    {/foreach}
                                </select>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label for="L_account" class="layui-form-label">收款人账号</label>
                            <div class="layui-input-inline">
                                <input type="text" id="L_account" name="account" required lay-verify="required"
                                       autocomplete="off" placeholder="请输入收款人账号" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label for="L_name" class="layui-form-label">收款人姓名</label>
                            <div class="layui-input-inline">
                                <input type="text" id="L_name" name="name" required lay-verify="required"
                                       autocomplete="off" placeholder="请输入收款人姓名" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label for="L_amount" class="layui-form-label">转账金额</label>
                            <div class="layui-input-inline">
                                <input type="number" id="L_amount" name="amount" required lay-verify="required"
                                       autocomplete="off" placeholder="请输入转账金额" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label for="L_user_note" class="layui-form-label">备注</label>
                            <div class="layui-input-block">
                                <textarea placeholder="" id="L_user_note" name="user_note" autocomplete="off"
                                          class="layui-textarea" style="height: 80px;"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <button class="layui-btn" key="set-ransfer" lay-filter="*" lay-submit>确认转账</button>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
{include file='user/footer' /}
</body>
</html>
